<!-- 交收报表 -->
</style>
<?php $id="form_".uniqid();?>
<table id="<?php echo $id;?>"></table>
<script>
    $("#<?php echo $id;?>").DataSource({url:'report/get_settlement_report_list',
        fields:[
            [
                {field:'member_name',title:'会员名称',rowspan:2,align:'center',width:130,sortable:true},
                {field:'total_amount',title:'总笔数',rowspan:2,align:'center',width:130,sortable:true},
                {field:'total_bet',title:'总下注',rowspan:2,align:'center',width:130,sortable:true},
                {field:'total_money',title:'总下注金额',rowspan:2, align:'center', width:130,  sortable:true},
                {field:'backwater',title:'返水',rowspan:2,align:'center',width:130,  sortable:true},
                {field:'total_prize',title:'总派彩', rowspan:2,align:'center', width:130,  sortable:true},
                {field:'actual_profit',title:'实际盈亏',rowspan:2,align:'center',width:130,  sortable:true},
                {field:'settlement',title:'公司交收',colspan:4,align:'center',width:130, sortable:true}
             ],[
                {field:'proportion',title:'公司占成',align:'center',width:120,  sortable:true},
                {field:'company_backwater',title:'公司返水',align:'center',width:120,  sortable:true},
                {field:'company_prize',title:'公司派彩',align:'center',width:120,  sortable:true},
                {field:'company_actual_profit',title:'实际盈亏',align:'center',width:120,  sortable:true}
            ]

       ], tools:[
            {instant:false},
            {text:"返回", iconCls:"icon-back",handler:function(){
                Core.addTab('报表', 'report/index');
            }},
		'-'
        ],
        checkbox:false,
        edit:true,
        footer:true,
       	pagination:false
    });

</script>